package wsem.model;

import java.util.ArrayList;
import java.util.List;

public class Term_noeud {

	private double poids;
	
	private int idNoeud;
	
	private int idTerm;

	private List<Integer> listPos;

	private Termes term;
	
	private Noeud noeud;
	
	private double frequence = 1;
	
	private double idf = 0;
	
	private double tf = 0;

	public Term_noeud(int poids, Termes term, Noeud noeud) {
		
		this.poids = poids;
		//this.listPos = listPos;
		listPos = new ArrayList<Integer>();
		this.term = term;
		this.noeud = noeud;
	}

	public Term_noeud() {
		// TODO Auto-generated constructor stub
	}

	public double getPoids() {
		return poids;
	}

	public void setPoids(double d) {
		this.poids = d;
	}

	public List<Integer> getListPos() {
		return listPos;
	}

	public void setListPos(List<Integer> listPos) {
		this.listPos = listPos;
	}

	public Termes getTerm() {
		return term;
	}

	public void setTerm(Termes term) {
		this.term = term;
	}

	public double getFrequence() {
		return frequence;
	}

	public void setFrequence(double frequence) {
		this.frequence = frequence;
	}

	public double getIdf() {
		return idf;
	}

	public void setIdf(double idf) {
		this.idf = idf;
	}
	
	public double getTf() {
		return tf;
	}

	public void setTf(double tf) {
		this.tf = tf;
	}
	public Noeud getNoeud() {
		return noeud;
	}

	public void setNoeud(Noeud noeud) {
		this.noeud = noeud;
	}

	public int getIdNoeud() {
		return idNoeud;
	}

	public void setIdNoeud(int idNoeud) {
		this.idNoeud = idNoeud;
	}

	public int getIdTerm() {
		return idTerm;
	}

	public void setIdTerm(int idTerm) {
		this.idTerm = idTerm;
	}



}
